@extends('auth.master')
@section('content')
 {{Form::open(array('url'=>'auth/reset','name'=>'reset-form','class'=>'reset-form','method'=>'post'))}}
    <div class="row form-group">
        @if(Session::has('error'))
            <div class="col-md-12">
                <label for="" class="control-label" style="font-family:Tahoma; font-size:12px; font-weight:600;color:red;">
                    {{Session::get('error')}}
                </label>
            </div>
        @endif
        <div class="col-md-12">
            <label for="" class="control-label">
                <span style="font-family:Tahoma; font-size:12px; font-weight:600;">
                <span style="color:#F00;">*</span> Mật khẩu mới</span>
            </label>
            {{Form::password("txtPassMoi",array("placeholder"=>"Mật khẩu mới","class"=>"form-control"))}}
        </div>
        <div class="col-md-12">
            <label for="" class="control-label">
                <span style="font-family:Tahoma; font-size:12px; font-weight:600;">
                <span style="color:#F00;">*</span> Nhập lại mật khẩu mới</span>
            </label>
            {{Form::password("txtRePassMoi",array("placeholder"=>"Nhập lại mật khẩu mới","class"=>"form-control"))}}
        </div>
        <div class="col-md-12">
            <label for="" class="control-label">
                <span style="font-family:Tahoma; font-size:12px; font-weight:600;">
                <span style="color:#F00;">*</span> Mã capchar</span>
            </label>
        </div>
        <div class="col-md-12">
            <div class="col-md-7" style="margin-left:-15px;">
                {{Form::text("txtcapchar",null,array("placeholder"=>"Mã xác nhận","class"=>"form-control"))}}
            </div>
            <div class="col-md-4">
                {{HTML::image(Captcha::img(),'Captcha image')}}
            </div>
        </div>
        {{Form::hidden('username',$user)}}
        {{Form::hidden('activation_code',$code)}}
    </div><!-- End .form-group -->  
    <div class="form-group">
        <div class="col-md-12">
            <div class="col-md-6"></div>
            <div class="col-md-4">
                {{Form::submit("Reset mật khẩu",array('class'=>'btn btn-primary'))}}
            </div>
        </div>
    </div><!-- End .form-group -->
{{Form::close()}}
@stop